namespace Code5Systems.FormMaster.Business
{

	#region FormFieldRulesInfo
	public class FormFieldRulesInfo
	{
		
		// local property declarations
		int _fieldRuleID;
		int _formID;
		string _sourceField;
		string _sourceFieldName;
		string _containsValue;
		byte _fieldType;
		string _formFields;
		
#region Constructors
		public FormFieldRulesInfo()
		{
		}
		
		public FormFieldRulesInfo(int fieldRuleID, int formID, string sourceField, string sourceFieldName, string containsValue, byte fieldType, string formFields)
		{
			this.FieldRuleID = fieldRuleID;
			this.FormID = formID;
			this.SourceField = sourceField;
			this.SourceFieldName = sourceFieldName;
			this.ContainsValue = containsValue;
			this.FieldType = fieldType;
			this.FormFields = formFields;
		}
#endregion
		
#region Public Properties
		public int FieldRuleID
		{
			get
			{
				return _fieldRuleID;
			}
			set
			{
				_fieldRuleID = value;
			}
		}
		
		public int FormID
		{
			get
			{
				return _formID;
			}
			set
			{
				_formID = value;
			}
		}
		
		public string SourceField
		{
			get
			{
				return _sourceField;
			}
			set
			{
				_sourceField = value;
			}
		}
		
		public string SourceFieldName
		{
			get
			{
				return _sourceFieldName;
			}
			set
			{
				_sourceFieldName = value;
			}
		}
		
		public string ContainsValue
		{
			get
			{
				return _containsValue;
			}
			set
			{
				_containsValue = value;
			}
		}
		
		public byte FieldType
		{
			get
			{
				return _fieldType;
			}
			set
			{
				_fieldType = value;
			}
		}
		
		public string FormFields
		{
			get
			{
				return _formFields;
			}
			set
			{
				_formFields = value;
			}
		}
#endregion
	}
#endregion
	
}
